Jupyter at Bryn Mawr College |
|||
Public notebooks: /services/public/dblank / jupyter.cs / Examples |
(import-as "calico.widgets" '*)
(import-as "calico.display" 'display)
(define gc (GoogleChart "BarChart" '("Year" "Sales" "Expenses")
'(("2004" 1000 400)
("2005" 1170 460)
("2006" 660 1120)
("2007" 1030 540))))
(display.display gc)
(define gc (GoogleChart "BarChart" '()
'(("2004" 1000 400)
("2005" 1170 460)
("2006" 660 1120)
("2007" 1030 540))))
(display.display gc)
(define gc (GoogleChart "ScatterChart" '()
'((1000 400)
(1170 460)
(660 1120)
(1030 540))))
(display.display gc)
(GoogleChart "Histogram" '() '(6 7 8 9 3 2 6))
(define gc (GoogleChart "AreaChart" '() '(6 7 8 9 3 2 6)))
gc
(define gc (GoogleChart "ScatterChart" '() '(6 7 8 9 3 2 6)))
gc
(GoogleChart "PieChart" '() '(("Pie I have eaten" .33) ("Pie I have not yet eaten" .67)))
(GoogleChart "LineChart" '() '(6 7 8 9 3 2 6))
(GoogleChart "ColumnChart" '() '(6 7 8 9 3 2 6))
(GoogleChart "BarChart" '() '[6 7 8 9 3 2 6])